package com.nf.health.app.activity.intervene;

import android.os.Bundle;
import android.widget.FrameLayout;
import android.widget.GridView;
import android.widget.ImageView;
import android.widget.TextView;

import com.nf.health.app.R;
import com.nf.health.app.activity.intervene.adatper.Inter_ItemAdapter;
import com.nf.health.app.adapter.ImageViewAdapter;
import com.nf.health.app.customview.MyGridView;
import com.nf.health.app.fragment.NoIBaseFragment;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created by Administrator on 2017/1/19/019.
 */

public class NoDataInterveneFragment extends NoIBaseFragment{
    @Bind(R.id.fl_nodata_l)
    FrameLayout fl_nodata_l;

    @Bind(R.id.iv_nodate_l)
    ImageView iv_nodate_l;

    @Bind(R.id.tv_nodate_descript)
    TextView tv_nodate_descript;

    @Bind(R.id.gv_nodate_l)
    MyGridView gv_nodate_l;

    private Inter_ItemAdapter adapter;

    public void onActivityCreated(Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        addViewFillInRoot(R.layout.fragment_nodataintervene);
        ButterKnife.bind(this, getView());
        initView();
    }

    /**
     *
     */
    private void initView() {
        adapter = new Inter_ItemAdapter(getActivity());
        gv_nodate_l.setAdapter(adapter);
    }


    @Override
    public void onDestroy() {
        super.onDestroy();
    }
}
